<template>
  <el-container class="main-content">
    <el-main>
      <sc-table row-key="id" stripe :data="tableData" :column="column" ref="table"></sc-table>
    </el-main>
  </el-container>
</template>
  
  <script setup>
const tableData = [
  {
    createBy: 115,
    createTime: "2024-07-11 10:41:06",
    updateBy: null,
    updateTime: null,
    id: 4361,
    receiptOrderNo: "R-2024-07-11-104038",
    receiptOrderType: "采购入库",
    supplierId: "测试供应商",
    orderNo: null,
    payableAmount: 1,
    receiptOrderStatus: "未发货",
    remark: null,
    detailCount: 1,
    waveNo: null,
    trackingNumber: '1234567'
  },
  {
    createBy: 115,
    createTime: "2024-07-11 09:53:35",
    updateBy: null,
    updateTime: null,
    id: 4360,
    receiptOrderNo: "R-2024-07-11-095245",
    receiptOrderType: "采购入库",
    supplierId: "测试供应商",
    orderNo: null,
    payableAmount: 5,
    receiptOrderStatus: "未发货",
    remark: null,
    detailCount: 2,
    waveNo: null,
    trackingNumber: '1234567'
  },
  {
    createBy: 115,
    createTime: "2024-07-10 19:15:18",
    updateBy: 115,
    updateTime: "2024-07-10 22:48:34",
    id: 4359,
    receiptOrderNo: "R-2024-07-10-191347",
    receiptOrderType: "采购入库",
    supplierId: "测试供应商",
    orderNo: "SH202400070001",
    payableAmount: 490,
    receiptOrderStatus: "在途（已发货未入库）",
    remark: null,
    detailCount: 2,
    waveNo: "WV1720622914980",
    trackingNumber: '1234567'
  },
  {
    createBy: 115,
    createTime: "2024-07-10 17:13:09",
    updateBy: 115,
    updateTime: "2024-07-10 17:14:30",
    id: 4358,
    receiptOrderNo: "R-2024-07-10-171259",
    receiptOrderType: "采购入库",
    supplierId: "测试供应商",
    orderNo: null,
    payableAmount: null,
    receiptOrderStatus: "入库完成",
    remark: null,
    detailCount: 1,
    waveNo: "WV1720602870445",
    trackingNumber: '1234567'
  },
  {
    createBy: 115,
    createTime: "2024-07-10 17:12:53",
    updateBy: 115,
    updateTime: "2024-07-10 17:14:30",
    id: 4357,
    receiptOrderNo: "R-2024-07-10-171225",
    receiptOrderType: "采购入库",
    supplierId: "测试供应商",
    orderNo: null,
    payableAmount: 19520,
    receiptOrderStatus: "入库完成",
    remark: null,
    detailCount: 10,
    waveNo: "WV1720602870445",
  },
  {
    createBy: 115,
    createTime: "2024-07-10 15:16:58",
    updateBy: 115,
    updateTime: "2024-07-10 22:48:34",
    id: 4356,
    receiptOrderNo: "R-2024-07-10-151645",
    receiptOrderType: "采购入库",
    supplierId: "测试供应商",
    orderNo: null,
    payableAmount: 1,
    receiptOrderStatus: "在途（已发货未入库）",
    remark: null,
    detailCount: 1,
    waveNo: "WV1720622914980",
  },
  {
    createBy: 115,
    createTime: "2024-07-10 14:43:38",
    updateBy: 115,
    updateTime: "2024-07-10 14:44:16",
    id: 4355,
    receiptOrderNo: "R-2024-07-10-144152",
    receiptOrderType: "采购入库",
    supplierId: "测试供应商",
    orderNo: "1111111111111",
    payableAmount: 152014,
    receiptOrderStatus: "部分入库",
    remark: "2301",
    detailCount: 10,
    waveNo: null,
  },
  {
    createBy: 115,
    createTime: "2024-07-09 16:22:48",
    updateBy: 115,
    updateTime: "2024-07-11 10:41:38",
    id: 4354,
    receiptOrderNo: "R-2024-07-09-162222",
    receiptOrderType: "采购入库",
    supplierId: "测试供应商",
    orderNo: null,
    payableAmount: 2,
    receiptOrderStatus: "在途（已发货未入库）",
    remark: null,
    detailCount: 1,
    waveNo: null,
  },
  {
    createBy: 115,
    createTime: "2024-07-09 14:54:06",
    updateBy: null,
    updateTime: null,
    id: 4353,
    receiptOrderNo: "R-2024-07-09-145328",
    receiptOrderType: "采购入库",
    supplierId: null,
    orderNo: null,
    payableAmount: 1,
    receiptOrderStatus: "未发货",
    remark: null,
    detailCount: 1,
    waveNo: null,
  },
  {
    createBy: 115,
    createTime: "2024-07-09 08:44:29",
    updateBy: 115,
    updateTime: "2024-07-09 14:16:30",
    id: 4352,
    receiptOrderNo: "R-2024-07-09-084358",
    receiptOrderType: "采购入库",
    supplierId: "测试供应商",
    orderNo: "qwerasdf",
    payableAmount: 1,
    receiptOrderStatus: "作废",
    remark: null,
    detailCount: 2,
    waveNo: null,
  },
];

const column = [
  {
    label: "入库单号",
    prop: "receiptOrderNo",
    width: "200",
    cope: true,
  },
  {
    label: "跟踪号",
    prop: "trackingNumber",
    width: "200",
    cope: true,
    link: true,
  },
  
  {
    label: "入库类型",
    prop: "receiptOrderNo",
    width: "200",
  },
  {
    label: "供应商",
    prop: "supplierId",
    width: "200",
  },
  {
    label: "订单号",
    prop: "orderNo",
    width: "200",
  },
  {
    label: "批次号",
    prop: "waveNo",
    width: "200",
  },
  {
    label: "备注",
    prop: "remark",
    width: "200",
  },
];
</script>
  